* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

.bodybox {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.bodybox::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('@/assets/backgroud/login.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.bodybox::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('@/assets/backgroud/register.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: 0.5s;
}

.bodybox.signup::after {
  opacity: 1;
}

.containers {
  position: relative;
  width: 350px;
  height: 360px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;

  align-items: center;
  z-index: 1000;
  transition: 0.5s;
  overflow: hidden;
}

.bodybox.signup .containers {
  height: 500px;
}

.containers::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: repeating-conic-gradient(
    from var(--a),
    #45f3ff 0%,
    #45f3ff 10%,
    transparent 10%,
    transparent 80%,
    #45f3ff 100%
  );
  border-radius: 20px;
  animation: animate 2.5s linear infinite;
}

.bodybox.signup .containers::before {
  filter: hue-rotate(140deg);
}

@property --a {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

@keyframes animate {
  0% {
    --a: 0deg;
  }

  100% {
    --a: 360deg;
  }
}

.containers span {
  position: absolute;
  inset: 5px;
  overflow: hidden;
  border-radius: 15px;
}

.containers span::before {
  content: '';
  position: absolute;
  inset: 5px;
  background: url('@/assets/backgroud/login.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  filter: blur(10px);
}

.containers span::after {
  content: '';
  position: absolute;
  inset: 5px;
  background: url('@/assets/backgroud/login.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  filter: blur(15px);
}

.bodybox.signup .containers span::before,
.bodybox.signup .containers span::after {
  background: url('@/assets/backgroud/register.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  filter: blur(15px);
}

:deep(.elForm) {
  position: absolute;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  gap: 15px;
  transition: 0.5s;
}

:deep(.elForm#signupForm) {
  left: 100%;
}

.bodybox.signup :deep(.elForm#signinForm) {
  left: -100%;
}

.bodybox.signup :deep(.elForm#signupForm) {
  left: 0;
}

:deep(.elForm h2) {
  position: relative;
  color: #fff;
  font-size: 1.5em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
}

:deep(.elForm .inputBox) {
  position: relative;
  width: 70%;
  display: flex;
  justify-content: space-between;
}

:deep(.elForm .inputBox a) {
  color: #fff;
  text-decoration: none;
  font-size: 0.85em;
}

:deep(.elForm .inputBox a:nth-child(2)) {
  text-decoration: underline;
}

:deep(.elForm .inputBox .el-input__wrapper) {
  width: 100%;
  height: 100%;
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  /* border-radius: 4px; */
  /* padding: 6px 15px; */
  background: rgba(0, 0, 0, 0.15); 
  /* color: #fff; */
}

:deep(.elForm .inputBox .el-input__inner) {
  font-size: 0.85em;
  color: #fff;
}

:deep(.elForm .inputBox .el-input__inner::placeholder) {
  color: rgba(255, 255, 255, 0.5);
}

:deep(.elForm .inputBox .el-button) {
  width: 100%;
  background: #2196f3;
  font-weight: 500;
  cursor: pointer;
}

:deep(.elForm#signupForm .inputBox .el-button) {
  background: #f4242f;
} 

:deep(.elForm#signupForm b) {
  font-weight: 500;
  color: #ffeb3b;
  text-decoration: underline;
}